package com.ssy.lingxi.order.model.vo.process.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 分页查询交易流程规则绑定的商品列表接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-24
 */
public class OrderTradeProcessProductPageVO extends PageVO implements Serializable {
    private static final long serialVersionUID = -911453104423516796L;

    /**
     * 流程规则配置Id
     */
    @NotNull(message = "流程规则配置Id要大于0")
    @Positive(message = "流程规则配置Id要大于0")
    private Long processId;

    /**
     * 商品名称
     */
    private String name;

    public Long getProcessId() {
        return processId;
    }

    public void setProcessId(Long processId) {
        this.processId = processId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
